home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / help_ai / factor < prev    next >
Text File  |  1994-09-04  |  1KB  |  39 lines

  1. factor:
  2.  
  3. Syntax:    factor ( A )
  4.     factor ( A , TYPE )
  5.  
  6. Description:
  7.  
  8.     The factor function computes the LU factorization of the input
  9.     matrix A. Factor returns a list with 3 elements: 
  10.  
  11.     if A is a general matrix:
  12.         lu    a matrix containing the LU factors
  13.         pvt    a vector containing the pivot indices
  14.         rcond    the inverse of the condition estimate
  15.     Factor utilizes the LAPACK subroutines DGETRF, DGECON or
  16.     ZGETRF, ZGECON.
  17.  
  18.     if A is a symmetric matrix:
  19.         ldl    a matrix containing the block diagonal matrix
  20.                         D, and the multipliers used to obtain L.
  21.         pvt    a vector containing the pivot indices
  22.         rcond    the inverse of the condition estimate
  23.     Factor utilizes the LAPACK subroutines DSYTRF, DSYCON or
  24.     ZHETRF, ZHECON.
  25.  
  26.     The user can overide factor's choice of solution type with the
  27.     optional argument TYPE. 
  28.  
  29.         TYPE = "g" or "G"    The general solution is used.
  30.  
  31.         TYPE = "s" or "S"    the symmetric solution is used.
  32.  
  33.     Factor returns the results in the above format, so that they
  34.     may be conveniently used with backsub for repetitive
  35.     solutions. The user-function lu will separate the results from
  36.     factor into separate L and U matrices.
  37.  
  38. See Also: backsub, inv, lu, solve
  39.